package main

import (
	"net/http"
	"os"
)

func main() {
	resp, _ := http.Get("http://www.baidu.com")
	body := resp.Body
	var bytes []byte
	body.Read(bytes)
	file, _ := os.OpenFile("", 1, 1)
	file.Write(bytes)
}
